package main

import (
	"github.com/BurntSushi/toml"
)

type Database struct{}

type Config struct {
	db *Database
}

func NewConfig() (*Config, error) {
	var config Config
	if _, err := toml.DecodeFile("example.toml", &config); err != nil {
		return nil, err
	}
	return &config, nil
}
